Oxygen saturation measurement using the IPAM device